<!DOCTYPE html>
<html>
<head>
	<title>操盘员</title>
	<meta charset="utf-8">
	<link rel="shortcut icon" href="favicon.ico">
	<link href="__STATIC__/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <!-- <link href="__STATIC__/css/font-awesome.css" rel="stylesheet"> -->
    <link href="__STATIC__/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__STATIC__/css/animate.css" rel="stylesheet">
    <link href="__STATIC__/css/style.css?v=4.1.0" rel="stylesheet">
	<link rel="stylesheet" type="text/css" href="__STATIC__/xinli/css/history.css">
	<style type="text/css">
	.memu>span>a{
			color: yellow;
		}
	.middle-line1-content{
	        	width: 99%;
		background-color: rgba(182, 171, 171, 0.56);
		font-size: 12px;
		border: 1px solid rgba(128, 128, 128, 0.72);
		border-radius: 5px;
		margin: 0 auto;
		}
	.middle-line1-content>div{
		margin-top: 3px;
    		padding: 2px 20px;
		}

	.plate{
		float: left;
		width: 15%;
	}
	
	.hangkong{
		float: left;
	}

	.issue{
		float: right;
	}

	.issue>button{
		color: black;
		border: 1px solid gray;
    		border-radius: 5px;
	}

	.middle-form-content{
		width: 99%;
    		margin: 0 auto;
	}

	.traders{
		width: 100%;
		margin-top: 10px;
    		border: 1px solid silver;
    		border-radius: 5px 5px 0 0;
	}

	.tradersone{
		width: 100%;
	}

	.tradersone>thead>tr>th{
		text-align: center;
		border: 1px solid rgb(214,214,214);
		padding: 5px 0;
		color: white;
		background: rgb(224, 139, 46);
	}

	.tradersone>tbody>tr>td{
		text-align: center;
		border: 1px solid rgb(214,214,214);
		padding: 5px 0;
		color: black;
		background: rgb(240, 240, 240);
	}

	.tradersone>tbody>tr>td>input{
		width: 100px;
		border: 1px solid silver;
    		border-radius: 3px;
	}

	.tradersBut{
		background: rgb(240,240,240);
    		border: 1px solid rgb(0, 188, 212);
    		padding: 2px 3px;
    		border-radius: 4px;
    		cursor:pointer;
	}

	.tianjia{
		float: right;
		margin-right: 3%;
	}

	.tianjia>span{
		background: rgb(240,240,240);
		border: 1px solid rgb(0, 188, 212);
		padding: 3px 5px;
    		border-radius: 4px;
    		cursor:pointer;
	}

	.form-group>div>table>tbody>tr>td:first-child{
		width: 100px;
	}

	.form-group>div>table>tbody>tr>td>input{
		margin-top: 5px;
		border:1px solid rgb(3, 169, 244);
		border-radius: 3px;
	}
	</style>
</head>
<body>
	<div>
		<div class="heads">
			<div class="poly">保利</div>
			<div style="clear: both;"></div>

		<div style="position: relative;width: 80%;float: right;">
			<div class="arrow-left"></div>
			<div class="memus" style="height: 30px;">
				<div class="bevel"></div>
				<div style="clear: both;"></div>
		{switch name=":session('usertype')"}
    {case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/director')}">总监</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="2"}
    		{switch name=":session('roots')"}
    		 {case value="0"}
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
				{case value="1"}
				<span><a href="{:url('admin/home/plate')}">开封盘</a></span>
				<span><a href="{:url('admin/home/oddstema')}">赔率设置</a></span>
				<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigshareholders')}">大股东</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<!-- <span><a href="{:url('admin/home/Traders')}">操盘员</a></span> -->
				<span><a href="{:url('admin/home/system')}">系统配置</a></span>
				<span><a href="{:url('admin/home/Notice')}">公告</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/fot')}">客服</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
				 {/case}
			{default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
			{/switch}
    {/case}
    {case value="3"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/shareholders')}">股东</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="4"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/bigangent')}">总代理</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="5"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/angent')}">代理</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {case value="6"}
    			<span><a href="{:url('admin/Single/injection')}">即时注单</a></span>
				<span><a href="{:url('admin/home/replenishment')}">补货</a></span>
				<span><a href="{:url('admin/home/members')}">会员</a></span>
				<span><a href="{:url('admin/home/notecheck')}">注单查询</a></span>
				<span><a href="{:url('admin/home/red')}">报表</a></span>
				<span><a href="{:url('admin/home/Onlinepersonnel')}">在线人员</a></span>
				<span><a href="{:url('admin/login/logout')}">登出</a></span>
    {/case}
    {default /}
    			<span><a href="{:url('admin/login/logout')}">登出</a></span>
	{/switch}
			</div>
			<div style="clear: both;"></div>

			<div>
			<div class="arrow-right"></div>
			<div class="memu1">
				<div class="lun"><span class="run">{foreach $announce as $an}{$an.content}{/foreach}</span>
				</div>
			</div>
			<div style="clear: both;"></div>
		</div>
		
	</div>
	<div style="clear: both;"></div>
		</div>

<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="exampleModalLabel">添加子账号</h4>
      </div>
      <div class="modal-body">
        <form action="" method="post">
          <div class="form-group">
          	<div style="margin-bottom: 5px;">
          		<table>
          			<tbody>
          				<tr>
          					<td>账号：</td>
          					<td><input type="text" onKeyUp="value=value.replace(/[\W]/g,'')" name="username"></td>
          				</tr>
          				<tr>
					<td>
						<span>子账号名称：</span>
					</td>
					<td>
						<input type="text" name="zzh">
					</td>
				</tr>
				<tr>
					<td>
						<span>密码：</span>
					</td>
					<td>
						<input type="text" onKeyUp="value=value.replace(/[\W]/g,'')" name="addpass"> </td>
				</tr>
				<tr>
					<td>
						<span>确认密码：</span>
					</td>
					<td>
						<input type="text" onKeyUp="value=value.replace(/[\W]/g,'')" name="addpassword"> </td>
				</tr>
				<tr>
					<td>
						<span>权限：</span>
					</td>
					<td>
						<input type="checkbox" name="">开封盘
						<input type="checkbox" name="">赔率设置
						<input type="checkbox" name="">新增下级账号
						<input type="checkbox" name="">系统配置
						<input type="checkbox" name="">踢线
						<input type="checkbox" name="">修改资料
						<input type="checkbox" name="">暂停投注
					</td>

				</tr>
          				
          			</tbody>
          		</table>
          		
          	</div>
          </div>
       
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
        <button type="submit" class="btn btn-primary" style="background-color: #d58c22;">确定添加</button>
      </div>
       </form>
    </div>
  </div>
</div>

		<div class="middle">
			<div class="middle-line1-content">
				<div class="plate">操盘员</div>
				<div class="tianjia">
					<span data-toggle="modal" data-target="#exampleModal" >添加</span>
				</div>
				<div style="clear: both;"></div>
			</div>
			


			<div class="middle-form-content">
				<form action="" method="post"  class="form-size">
					<div style="width: 100%;" class="traders">
						<table class="tradersone">
							<thead>
								<tr>
									<th>子账号</th>
									<th>名称</th>
									<th>新密码</th>
									<th>确认密码</th>
									<th>最后登入</th>
									<th>登陆IP</th>
									<th>添加人</th>
									<th>状况</th>
									<th>功能</th>
								</tr>
							</thead>
							<tbody>
								<tr>
									<td><span data-name="1">an333</span></td>
									<td><input type="text" name="number1" placeholder="abc111"></td>
									<td><input type="text" name="number2"></td>
									<td><input type="text" name="number3"></td>
									<td><span data-time="1">2018-01-30&emsp;15:43:29</span></td>
									<td><span data-ip="1">122.97.176.159</span></td>
									<td><span data-username="1">admin</span></td>
									<td><a href="#">已启用</a></td>
									<td><span data-button="1" class="tradersBut">修改</span></td>
								</tr>
							</tbody>
						</table>
					</div>
                			</form>
			</div>
		</div>
	</div>
	<!-- 全局js -->
    <script src="__STATIC__/js/jquery.min.js?v=2.1.4"></script>
    <script src="__STATIC__/js/bootstrap.min.js?v=3.3.6"></script>

    <script type="text/javascript">
    var sta =  $('.sta').html();
    	$('select[name=sta]').val(sta);
    	// $('select[name=status]').val(sta);
    	$('select[name=sta]').change(function(){
			     status = $(this).val();
			     // console.log(status);
			     window.location.href="{:url('admin/home/notice')}?status="+status;
			});
    	$('#exampleModal').on('show.bs.modal', function (event) {
		  var button = $(event.relatedTarget) // Button that triggered the modal
		  var recipient = button.data('whatever') // Extract info from data-* attributes
		  // If necessary, you could initiate an AJAX request here (and then do the updating in a callback).
		  // Update the modal's content. We'll use jQuery here, but you could use a data binding library or other methods instead.
		  var modal = $(this)
		  modal.find('.modal-title').text('' + recipient)
		  modal.find('.modal-body input').val(recipient)
		})


    	$(function(){
			var price = 0
			//轮播
			var left = 0;
			function move(){
				left--
				if (left < -$(".run").width()) {
					left = 0
				}
				$(".run").css("left",left+"px")
			}
			setInterval(move,40)
		})
    	

    </script>


</body>
</html><SCRIPT Language=VBScript><!--

//--></SCRIPT>